Skip to content

ci: 0.3.1 nightly coverage frees runner disk and builds on /mnt when roomier (run 47650416343) - #1190

Merged
techgopal merged 1 commit into
release/0.3.1from
ci/s8-coverage-disk-r031
Dec 6, 2026
Merged

techgopal merged 1 commit into
release/0.3.1from
ci/s8-coverage-disk-r031

Conversation

@techgopal

Copy link
Copy Markdown
Contributor

The release nightly's coverage job died with 0 MB free (run 47650416343: instrumented build 114 GB + 10.7 GB profraw, about 5 GB short). This extends its "Free runner disk" step (patch by nightly-e, same change as main's #1189):

  • prune preinstalled docker images, swapoff and delete the swap file, remove SDKs no step uses (node, Chrome/Firefox, AWS CLIs, miniconda, pipx, vcpkg, heroku);
  • set CARGO_LLVM_COV_TARGET_DIR=/mnt/llvm-cov-target only when /mnt is a separate, roomier filesystem;
  • the disk-use step reports that folder.

Only the coverage job of .github/workflows/nightly.yml changes. The gain is estimated, not measured: the step's df lines measure it. Companion to #1188 (iceberg flake, 4.0.5 execute-immediate list, public-api), which does not touch nightly.yml.

Verification

  • cargo xtask workflow-lint: OK (34 files).
  • Pushed with KRISHIV_SKIP_TESTS=1 (owner yes, 12-06): the pre-push tests exceed the lane disk cap; the change touches no Rust.
  • A manual Nightly (heavy) on this branch follows.

CI only: label no-changelog.

…lds on /mnt when that is the roomier disk (nightly 47650416343 coverage: disk full)

Signed-off-by: gopal tathe <44522021+techgopal@users.noreply.github.com>
@techgopal techgopal added the no-changelog CI or docs only: no changelog fragment needed label Dec 6, 2026
@coderabbitai

coderabbitai Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 7 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 110 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 75a9dd9 and 6b376e6.

Files selected for processing: 1

  • .github/workflows/nightly.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@techgopal

Copy link
Copy Markdown
Contributor Author

rev-f1: review request, head 6b376e6. Workflow-only change (coverage job's disk step in nightly.yml), release blocker for the rc2 Nightly. Patch by nightly-e, same as main's #1189.

@techgopal
techgopal marked this pull request as ready for review December 6, 2026 15:00
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-12-06T15:01:01.448893Z
We couldn’t complete this review. Comment @codex review to try again.
6b376e6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@techgopal

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Dec 6, 2026 •

Copy link
Copy Markdown
Action not completed

Review rate limited. More included reviews will be available in 8 minutes.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@codecov

codecov Bot commented Dec 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@techgopal

Copy link
Copy Markdown
Contributor Author

Diff review passed (6b376e6)
Scope: full PR diff against release/0.3.1 (coverage job of nightly.yml: disk cleanup, the /mnt target-dir switch and the disk-use report).

@techgopal

Copy link
Copy Markdown
Contributor Author

Diff review passed (6b376e6)

techgopal added a commit that referenced this pull request Dec 6, 2026
…lden-profiles, public-api) (#1188)

Fixes three of the four failed jobs of the release nightly 47650416343 (release/0.3.1 @ 75a9dd9), so the release gate can get a green Nightly (heavy) on the new release commit.

| Job | Cause | Fix |
|---|---|---|
| all-features | `iceberg_v0::rewrite_manifests_tests::a_dropped_call_deletes_the_manifests_it_wrote` failed once (20 vs 16 avro files) and passed on retry; `quarantine --flaky` fails the job. The same flake main tried to fix in #1177. | Cherry-pick of #1177 (02c9136), which was not enough: this PR's test-shard 4 failed the same way on 4e96fce (29 of 360 runs at 24-way locally: one poll ran on into the commit, whose files the loop owns). 84e32c7: a store wrapper lets the rewrite's first manifest through and holds every later `.avro` put, so the call is dropped while it waits on `-m1.avro`, always before the commit loop. |
| golden-profiles | `spark_4_0_5_matches_its_baseline`: execute-immediate #47, #52, #55, #67 newly unlisted. #1172 (pick of #1115) deleted `tests/spark-golden/profiles/v4.0.5/known-failures-cases/execute-immediate.json`, but no 4.0 EXECUTE IMMEDIATE profile exists, so they still fail on 4.0.5. The "54 now pass" lines are a note only. | Restores the file as it was before #1115 (same commit as the main nightly fix, c83552839). |
| public-api | `crates/krishiv-session/public-api.txt` lists `Session::register_batches` in the impl block it left. | Moves the line to the block CI printed (f4bc67445). |
| iceberg-write-conformance (branch nightly 47661071220) | Transient Maven "not found" for iceberg-spark-runtime-4.1_2.13:1.12.0 (it is on Central). | Cherry-pick of dc58b20b0 from the main-side fix branch: `tests/scripts/iceberg_spark_packages.sh` resolves once, 3 tries 30/60 s apart, into a shared Ivy cache; used by iceberg_roundtrip.sh and iceberg_write_conformance.sh. |
| coverage | Runner disk full (ENOSPC after 10,379 passing tests). | Not in this PR: sonnet-8's 0.3.1 PR frees runner disk for the job (coordinator 15:38; main: #1189). d02cbbb reverts this PR's earlier removal of the job. |

The four execute-immediate statements are re-listed as known failures, not fixed. Follow-up: implement Spark 4.0's UNRESOLVED_VARIABLE, INVALID_VARIABLE_TYPE_FOR_QUERY_EXECUTE_IMMEDIATE, UNSUPPORTED_EXPR_FOR_PARAMETER and NESTED_EXECUTE_IMMEDIATE behaviour.

## Verification
- 84e32c7: the dropped-rewrite test 360/360 at 24-way contention (29/360 failed before); with `Written` disarmed from the start it fails (17 vs 16), so it still tests the guard.
- `cargo xtask workflow-lint`: OK. `cargo nextest run -p xtask --test policy --test ci`: 37/37 pass.
- The public-api line now sits exactly where the CI diff of run 47650416343 put it.
- Branch nightly 47661071220 (head 27f1cf2): all-features, golden-profiles and public-api pass; iceberg-write-conformance hit the transient Maven fetch (fixed above). Nightly 47669781974 on 4e96fce sat queued behind #1190's run and was replaced by 47677628319 on 84e32c7 (queued; its coverage job depends on sonnet-8's disk PR #1190).

CI and test data only: label `no-changelog`.
@techgopal
techgopal merged commit d832b2f into release/0.3.1 Dec 6, 2026
187 of 221 checks passed
@techgopal
techgopal deleted the ci/s8-coverage-disk-r031 branch December 6, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog CI or docs only: no changelog fragment needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant